<template>
	<div>
		<div>{{str | mySlice}}</div>
		<input type="text" v-fbind:value="name"/>
	</div>
</template>

<script>
	
	export default {
		name:'App',
		data(){
			return {
				str : 'Hello,There was somethings',
				name:'张三',
			}
			
		},
		components:{ 
		},
		mounted() {
			console.log(this.$myMethod())
		}
		
	}
</script>

<style>
</style>